home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form Form1
- Appearance = 0 'Flat
- BackColor = &H00C0C0C0&
- BorderStyle = 1 'Fixed Single
- Caption = "BarCod ActiveX Sample"
- ClientHeight = 3690
- ClientLeft = 1170
- ClientTop = 1890
- ClientWidth = 3975
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H80000008&
- Height = 4095
- Left = 1110
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 3690
- ScaleWidth = 3975
- Top = 1545
- Width = 4095
- Begin VB.ComboBox Combo1
- Appearance = 0 'Flat
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 300
- Left = 240
- Style = 2 'Dropdown List
- TabIndex = 4
- Top = 1920
- Width = 3495
- End
- Begin VB.TextBox Text1
- Appearance = 0 'Flat
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 285
- Left = 960
- TabIndex = 0
- Text = "SAMPLE"
- Top = 960
- Width = 2775
- End
- Begin BarcodLib.Barcod Barcode1
- Height = 615
- Left = 240
- TabIndex = 6
- Top = 120
- Width = 3495
- _Version = 65542
- _ExtentX = 6165
- _ExtentY = 1085
- _StockProps = 75
- Caption = "SAMPLE"
- BackColor = 16777215
- BarWidth = 0
- Direction = 0
- Style = 3
- UPCNotches = 0
- Alignment = 0
- Extension = ""
- End
- Begin VB.Label Label4
- Appearance = 0 'Flat
- BackColor = &H00C0C0C0&
- Caption = $"BARCODS1.frx":0000
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H80000008&
- Height = 1095
- Left = 240
- TabIndex = 5
- Top = 2400
- Width = 3495
- End
- Begin VB.Label Label3
- Appearance = 0 'Flat
- BackColor = &H80000005&
- BorderStyle = 1 'Fixed Single
- Caption = "SAMPLE"
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H80000008&
- Height = 285
- Left = 960
- TabIndex = 3
- Top = 1440
- Width = 2775
- End
- Begin VB.Label Label2
- Appearance = 0 'Flat
- BackColor = &H00C0C0C0&
- Caption = "Output:"
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H80000008&
- Height = 255
- Left = 240
- TabIndex = 2
- Top = 1440
- Width = 735
- End
- Begin VB.Label Label1
- Appearance = 0 'Flat
- BackColor = &H00C0C0C0&
- Caption = "Input:"
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H80000008&
- Height = 255
- Left = 240
- TabIndex = 1
- Top = 960
- Width = 735
- End
- Attribute VB_Name = "Form1"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- Option Explicit
- Private Sub Combo1_Change()
- Barcode1.Style = Combo1.ListIndex
- Label3.Caption = Barcode1.Displayed
- End Sub
- Private Sub Combo1_Click()
- Combo1_Change
- End Sub
- Private Sub Form_Load()
- Combo1.AddItem "None"
- Combo1.AddItem "Code 2 of 5"
- Combo1.AddItem "Interleaved 2 of 5"
- Combo1.AddItem "Code 3 of 9"
- Combo1.AddItem "Codabar (Rationalized)"
- Combo1.AddItem "Extended Code 3 of 9"
- Combo1.AddItem "Code 128-A"
- Combo1.AddItem "Code 128-B"
- Combo1.AddItem "Code 128-C"
- Combo1.AddItem "UPC-A"
- Combo1.AddItem "MSI (Plessey)"
- Combo1.AddItem "Code 93"
- Combo1.AddItem "Extended Code 93"
- Combo1.AddItem "EAN-13"
- Combo1.AddItem "EAN-8"
- Combo1.AddItem "PostNet"
- Combo1.AddItem "ANSI 3 of 9"
- Combo1.AddItem "ANSI 3 of 9 (extended)"
- Combo1.AddItem "Code 128 (auto)"
- Combo1.AddItem "UCC/EAN-128"
- Combo1.AddItem "UPC-E"
- Combo1.AddItem "Royal Mail RM4SCC"
- Combo1.ListIndex = 3
- Text1_Change
- End Sub
- Private Sub Text1_Change()
- Barcode1.Caption = Text1
- DoEvents
- Label3.Caption = Barcode1.Displayed
- End Sub
-